/** @format */

const fs = require("fs")
const path = require("path")

const DIR = path.join(__dirname, "public/images/swipers")
const files = fs.readdirSync(DIR)
console.log(files)
// fs.readdir(DIR, (err, files) => (err ? console.log(err) : console.log(files)))
